﻿using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Runtime.Remoting.Contexts;

namespace BL
{
    /// <summary>
    /// Define base class for controller with connection string
    /// </summary>
    /// <history>
    /// 11/30/2014 phat.vo: Create new
    /// </history>
    public class BaseController
    {
        protected string NameOrConnectionString = string.Empty;

        public BaseController()
        {
            NameOrConnectionString = "MasterModelContainer";
        }

        public BaseController(string nameOrConnectionString)
        {
            NameOrConnectionString = nameOrConnectionString;
        }
    }
}
